-- GENERATED SPELL FOR [Priestess of Delight] --


function spell0_22962(pUnit, Event) --@Curse of Vitality,n/a--
pUnit:FullCastSpellOnTarget(41351,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22962', 18000, 1)
end

function Sorts_22962(pUnit, Event)
local choix_sorts_22962 = math.random(0, 0)
if choix_sorts_22962 == 0 then
pUnit:RegisterEvent('spell0_22962', 1, 1)
end
end

function mob22962_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22962', math.random(1500, 3000), 1)
end

function mob22962_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22962_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22962_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22962, 1, 'mob22962_Action')
RegisterUnitEvent(22962, 2, 'mob22962_Leave')
RegisterUnitEvent(22962, 3, 'mob22962_Kill')
RegisterUnitEvent(22962, 4, 'mob22962_Die')
